package com.guit.hrms.dto.Position;


import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AddPositionDTO {
    @NotNull(message = "positionNumber不能为null")
    private String positionNumber;
    @NotNull(message = "positionName不能为null")
    private String positionName;
    @NotNull(message = "positionProperties不能为null")
    private String positionProperties;
    @NotNull(message = "jobDescription不能为null")
    private String jobDescription;
    @NotNull(message = "deptType不能为null")
    private Integer deptType;
    @NotNull(message = "deptType不能为null")
    private Integer deptId;

}
